const { Sequelize } = require("sequelize");
const sequelize = new Sequelize("zhengtianhewang", "root", "PUgJ3Q5k", {
    host: "localhost",
    dialect: "mariadb",
    timezone: "+08:00",
    define: {
        timestamps: true,
        createdAt: "created_at",
        updatedAt: "updated_at",
        deletedAt: "deleted_at",
    },
    query: {
        raw: true
    }
});

module.exports = sequelize;